//
//  UIView+YD.h
//
//  Created by yidong on 15/5/7.
//  Copyright (c) 2015年 yidong. All rights reserved.
//
#import <UIKit/UIKit.h>

@interface UIView (YD)
@property (assign, nonatomic) CGFloat x;
@property (assign, nonatomic) CGFloat y;
@property (assign, nonatomic) CGFloat width;
@property (assign, nonatomic) CGFloat height;
@property (assign, nonatomic) CGSize size;
@property (assign, nonatomic) CGPoint origin;
- (UIViewController*)viewController;
// window 上的第一个视图
-(UIView *)windowFirstView;
@end
